package com.enation.app.javashop.core.goods.model.vo;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 用于select标签使用
 * @author fk
 * @version v1.0
 * 2017年5月10日 下午7:37:32
 */
@ApiModel
@JsonNaming(value = PropertyNamingStrategy.SnakeCaseStrategy.class)
public class SelectVO {
	
	@ApiModelProperty("选择器id")
	private Integer id;
	
	@ApiModelProperty("选择器文本")
	private String text;
	
	@ApiModelProperty("是否选中，选中true，未选中false")
	private Boolean selected;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public boolean isSelected() {
		return selected;
	}
	public void setSelected(boolean selected) {
		this.selected = selected;
	}
	@Override
	public String toString() {
		return "SelectVO [id=" + id + ", text=" + text + ", selected=" + selected + "]";
	}
	
}
